<extend name="Public/Dialog/Common"/>
<block name="pageContent">
    <div class="bjui-pageContent">
        <form action="__ACTION__" class="pageForm" data-toggle="validate" method="post">
            <!-- 菜单id号 -->
            <input type="hidden" name="id" value="">
            <table class="table table-condensed table-hover">
                <tbody>
                <tr>
                    <td colspan="2" align="center">
                        <h3>
                            添加文档模型基础表                        </h3>
                    </td>
                </tr>
                <tr>
                        <td>
                            <label class="control-label x90">用户ID：</label>
                            <input type="text" data-rule="required" size="20" name="uid" value="{$vo.uid|uidToNickname}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">标识：</label>
                            <input type="text" data-rule="required" size="20" name="name" value="{$vo.name}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">标题：</label>
                            <input type="text" data-rule="required" size="20" name="title" value="{$vo.title}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">所属分类：</label>
                            <input type="text" data-rule="required" size="20" name="category_id" value="{$vo.category_id}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">描述：</label>
                            <input type="text" data-rule="required" size="20" name="description" value="{$vo.description}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">根节点：</label>
                            <input type="text" data-rule="required" size="20" name="root" value="{$vo.root}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">所属ID：</label>
                            <input type="text" data-rule="required" size="20" name="pid" value="{$vo.pid}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">内容模型ID：</label>
                            <input type="text" data-rule="required" size="20" name="model_id" value="{$vo.model_id}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">内容类型：</label>
                            <input type="text" data-rule="required" size="20" name="type" value="{$vo.type}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">推荐位：</label>
                            <input type="text" data-rule="required" size="20" name="position" value="{$vo.position}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">外链：</label>
                            <input type="text" data-rule="required" size="20" name="link_id" value="{$vo.link_id}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">封面：</label>
                            <input type="text" data-rule="required" size="20" name="cover_id" value="{$vo.cover_id}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">可见性：</label>
                            <input type="text" data-rule="required" size="20" name="display" value="{$vo.display}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">截至时间：</label>
                            <input type="text" data-rule="required" size="20" name="deadline" value="{$vo.deadline}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">附件数量：</label>
                            <input type="text" data-rule="required" size="20" name="attach" value="{$vo.attach}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">浏览量：</label>
                            <input type="text" data-rule="required" size="20" name="view" value="{$vo.view}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">评论数：</label>
                            <input type="text" data-rule="required" size="20" name="comment" value="{$vo.comment}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">扩展统计字段：</label>
                            <input type="text" data-rule="required" size="20" name="extend" value="{$vo.extend}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">优先级：</label>
                            <input type="text" data-rule="required" size="20" name="level" value="{$vo.level}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">创建时间：</label>
                            <input type="text" data-rule="required" size="20" name="create_time" value="{$vo.create_time|time_format}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">更新时间：</label>
                            <input type="text" data-rule="required" size="20" name="update_time" value="{$vo.update_time|time_format}">
                        </td>
                    </tr><tr>
                        <td>
                            <label class="control-label x90">数据状态：</label>
                            <input type="text" data-rule="required" size="20" name="status" value="{$vo.status|columnToName}">
                        </td>
                    </tr>                </tbody>
            </table>
        </form>
    </div>
</block>